package com.qding.park.adapter.report.valid;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;


//@Constraint(validatedBy={IntegerInArrayValid.class})
@Documented 
@Target( {ElementType.ANNOTATION_TYPE,ElementType.METHOD, ElementType.FIELD }) 
@Retention(RetentionPolicy.RUNTIME) 
public @interface SimpleDateTime {
    String message() default "日期格式必项为yyyy-mm-dd HH:mm:ss"; 
    Class<?>[] groups() default {}; 
    Class<? extends Payload>[] payload() default {}; 
}
